/*
 * @Descripttion:
 * @Author: liujing
 * @Date: 2021-04-20 11:04:26
 * @LastEditTime: 2021-09-03 16:38:14
 */
import React, { Component } from "react";
import { View, Text, Button, StyleSheet } from "react-native";
import { HomeTabApp } from "../../router";
export default class HomePage extends Component {
  constructor(props) {
    super(props);
  }
  onPressLearnMore = () => {
    this.props.navigation.push("Product");
    // this.props.navigation.goBack();
  };
  render() {
    return (
      <View style={styles.contain}>
        {/* <Button
          onPress={this.onPressLearnMore}
          title="Learn More"
          color="#841584"
        /> */}
        <Text style={styles.txt} onPress={this.onPressLearnMore}></Text>
      </View>
    );
  }
}
const styles = StyleSheet.create({
  contain: {
    marginTop: 200,
  },
  txt: {
    width: 50,
    height: 50,
    backgroundColor: "red",
  },
});
